const obj = {};

obj[1] = "p1";
obj[6] = "p6";
obj[2] = "p2";

for (const p in obj) {
  console.log("property:", p);
}
